package com.ruoyi.college.domain.vo;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

public class SubjectTreeVo extends BaseEntity {

    private String id;
    private String label;
    private String type; // college, firstSubject, secondSubject
    private List<SubjectTreeVo> children;

    public SubjectTreeVo() {}

    public SubjectTreeVo(String id, String label, String type) {
        this.id = id;
        this.label = label;
        this.type = type;
    }

    // Getters and Setters
    public String getId() { return id; }
    public void setId(String id) { this.id = id; }
    public String getLabel() { return label; }
    public void setLabel(String label) { this.label = label; }
    public String getType() { return type; }
    public void setType(String type) { this.type = type; }
    public List<SubjectTreeVo> getChildren() { return children; }
    public void setChildren(List<SubjectTreeVo> children) { this.children = children; }
}
